package com.xb.loan.cashier.biz.dao;


import com.xb.loan.cashier.biz.dao.bean.CashierChargeOrder;
import com.xb.loan.util.mybatis.MyBatisRepository;

import java.util.List;
import java.util.Map;

@MyBatisRepository
public interface CashierChargeOrderDao {
    int addOrder(CashierChargeOrder record);

    int getCountByField(Map<String, String> params);
    
    int updateByOrderId(Map<String, Object> params);
    
    int queryStatus(Map<String, Object> params);
    
    List<CashierChargeOrder> queryByStatus(Map<String, Object> params);

    List<CashierChargeOrder> queryByPushStatus(Map<String, Object> params);
    
    int updatePushStatusByOrderId(Map<String, Object> params);
    
    Integer queryPushStatus(Map<String, Object> params);
    
    int queryCountByAccountDayPlat(String accountPeriod);
    
    List<CashierChargeOrder> queryAccountByPage(Map<String, Object> params);
    
    int queryAccountCount(String accountPeriod);

    List<CashierChargeOrder> selectThirdLessData(Map<String, Object> params);

    List<CashierChargeOrder> selectAccountNonDatas(Map<String, Object> params);

    List<CashierChargeOrder> selectByOrderIds(List<String> orderIds);

    int updateThirdAccountTime(Map<String, Object> params);
    
    CashierChargeOrder queryByOrderId(String orderId);
    
    int updatePushCount(Map<String, Object> params);
    
    int queryPushCount(String orderId);

    int updateAccountStatus(Map<String, Object> params);

}